package com.ly.emp.bean.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;

/**
 * 通用入参-部门code-周期-DTO
 *
 * @author jeecg
 * @Date: 2023-06-30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Schema(description = "一线班组状态通用入参")
public class HubTeamResurtDTO {

    /**
     * 班组编码
     */
    @NotEmpty(message = "班组编码不能为空")
    @Schema(description = "班组编码")
    private String orgCode;

    /**
     * 考核周期
     */
    @NotEmpty(message = "考核周期不能为空")
    @Schema(description = "考核周期")
    private String periodCode;

    /**
     * 状态类型（submit：提交 release：发布 reject:审核退回 pass:审核通过）
     */
    @Schema(description = "状态类型")
    private String type;
}
